package com.strange.mdl.module.mdl.dal.mysql.dailydharma;

import com.strange.mdl.framework.mybatis.core.mapper.BaseMapperX;
import com.strange.mdl.module.mdl.dal.dataobject.dailydharma.DailydharmaDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 今日弘法 Mapper
 *
 * @author 密谛灵总控
 */
@Mapper
public interface DailydharmaMapper extends BaseMapperX<DailydharmaDO> {
    DailydharmaDO selectDailydharmaDOUsers(@Param("id") Long id, @Param("userId") Long userId);
    DailydharmaDO selectDailyDharmaWithUserInfo(@Param("id") Long id, @Param("userId") Long userId);
    List<DailydharmaDO> lastDailydharmaTwo();
}